angular.module('com.dcos.app').config(function ($stateProvider) {

	$stateProvider.state('app.templatemanage', {
		url: '/templatemanage',
		templateUrl: 'controllers/templatemanage/templatemanage.html',
		controller: 'TemplateManageController as vm'
	});

	$stateProvider.state('app.templatemanage.create', {
		url: '/create',
		templateUrl: 'controllers/templatemanage/create/create.html',
		controller: 'TemplateCreateController as vm'
	});
	$stateProvider.state('app.templatemanage.detail', {
		params: {t_id: null},
		url: '/detail/{t_id:string}',
		templateUrl: 'controllers/templatemanage/detail/detail.html',
		controller: 'TemplateDetailController as vm'

	});
});